UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Oracle Linux operating system must mount /dev/shm with the nosuid option.


Overview

Finding ID Version Rule ID IA Controls Severity
V-209074 OL6-00-000531 SV-209074r603263_rule Low
Description
The "nosuid" mount option causes the system to not execute "setuid" and "setgid" files with owner privileges. This option must be used for mounting any file system not containing approved "setuid" and "setguid" files. Executing files from untrusted file systems increases the opportunity for unprivileged users to attain unauthorized administrative access.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-03-01

Details

Check Text ( C-9327r358007_chk )
Verify that the "nosuid" option is configured for /dev/shm.

Check that the operating system is configured to use the "nosuid" option for /dev/shm with the following command:

# cat /etc/fstab | grep /dev/shm | grep nosuid

tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0

If the "nosuid" option is not present on the line for "/dev/shm", this is a finding.

Verify "/dev/shm" is mounted with the "nosuid" option:

# mount | grep "/dev/shm" | grep nosuid

If no results are returned, this is a finding.
Fix Text (F-9327r358008_fix)
Configure the "/etc/fstab" to use the "nosuid" option for all lines containing "/dev/shm".